package com.woniu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

//这是展示商品的实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FindGoods {

    private Long id;

    private Long vendorId;  //商户id

    private String title; //商品名字

    private String description; //介绍

    private Double price; //单价

    private Date createTime; //创建时间

    private Integer stock; //上架数量

    private Integer status; //状态

    private String goodsType; //商品类型

    private Integer likeNum; //点击量

    private Date updateTime; //更新时间

    private  List<GoodsDetail> goods; //商品详细的类类型

    private  Vendor vendors; //商户的类类型



}
